﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/NewCss.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery.watermarkinput.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:Panel ID="pnlUI" runat="server" DefaultButton="btnLogin">
<div id="All-Table">
  <div id="Title-Line">
    <h2>會員登入</h2>
  </div>
  <table border="0" cellpadding="0" cellspacing="0" class="Login-Table">
    <tr>
      <td colspan="3" valign="top"><img src="image/member.png" width="458" height="28" class="Login-Title" /></td>
      </tr>
    <tr>
      <td width="128"><img src="image/member2.png" width="128" height="164" class="Login-icon" /></td>
      <td width="299">
        <div id="Login-ID">
            <asp:TextBox ID="txtAccount" runat="server" CssClass="Login-Order" ></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入帳號"
                  ControlToValidate="txtAccount" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </div>
        <div id="Login-PW">
            <asp:TextBox ID="txtPassword" runat="server" CssClass="Login-Order" TextMode="Password" ></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server" ErrorMessage="請輸入密碼"
                  ControlToValidate="txtPassword" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </div>
        <p class="Login-Txt"><%--記住我的帳號--%>　　<a href="forget.aspx" class="Btn-red">忘記密碼</a>　　<a href="join.aspx" class="Btn-red">加入會員</a></p>
        </td>
      <td width="31"><asp:LinkButton ID="btnLogin" runat="server" onclick="btnLogin_Click" ValidationGroup="Save" ><img src="image/btn-login.png" width="87" height="89" class="Login-btn" /></asp:LinkButton></td>
    </tr>
    </table>
</div>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Save" 
        ShowMessageBox="True" ShowSummary="False"/>
        </asp:Panel>
<script type="text/javascript">
    $(function () {
        $("#ctl00_ContentPlaceHolder2_txtAccount").Watermark("輸入帳號為註冊時的電子郵件", "#999999");
    });
</script>
</asp:Content>


